package com.bw.module_car.adpter

import android.widget.TextView
import com.bw.module_car.R
import com.bw.module_car.entity.ProvincesEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class ProvincesAdapter : BaseQuickAdapter<ProvincesEntity,BaseViewHolder>(R.layout.item_provinces){
    override fun convert(holder: BaseViewHolder, item: ProvincesEntity) {

        holder.getView<TextView>(R.id.provinnces_tv).setText(item.abbreviation)
    }
}